package com.zhou.util;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;

import android.test.AndroidTestCase;
import android.util.Log;

public class MyTest extends AndroidTestCase {
	public static final String TAG = "UtilTest";

	public void testDBTransfer() throws Throwable {

	}

	public void makeLoadTimesZero() {
		SharedPreferences sp = this.getContext().getSharedPreferences(
				"firstLoad", Context.MODE_PRIVATE);
		Editor editor = sp.edit();
		editor.putInt("LT", 0);
		editor.commit();
		Log.i("zhou", sp.getInt("LT", 0)+"");
	}
}
